//
//  stmtkind.cpp
//  ltlbmc
//
//  Created by GD Huang on 7/5/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#include <iostream>
#include "stmtkind.h"

namespace cilast {
    stmtkind::stmtkind() {
        
    }
    
    int stmtkind::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Instr::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Return::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Goto::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Break::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Continue::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int If::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Switch::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Loop::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int Block::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int TryFinally::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
    
    int TryExcept::accept(astVisitor* visitor) {
        return visitor->visit(this);
    }
}
